<?php

namespace app\models;

use Yii;
use yii\base\Model;

/**
 * ContactForm is the model behind the contact form.
 */
class LindaoForm extends Model
{
    public $level_one;
    public $level_one_reward;
    public $level_two;
    public $level_two_reward;
    public $level_three;
    public $level_three_reward;
    public $is_stop_lindao;

    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [['level_one', 'level_one_reward','level_two','level_two_reward','level_three','level_three_reward','is_stop_lindao'], 'required'],
        ];
    }

    /**
     * @return array customized attribute labels
     */
     public function attributeLabels()
     {
         return [
             'level_one' => '指标一达到（$）',
             'level_one_reward' => '指标一奖励（$）',
             'level_two' => '指标二达到（$）',
             'level_two_reward' => '指标二奖励（$）',
             'level_three' => '指标三达到（$）',
             'level_three_reward' => '指标三奖励（$）',
             'is_stop_lindao' => '关闭领导奖'
         ];
     }

}
